﻿using System;

namespace Patterns
{
    class Program
    {
        static void Main(string[] args)
        {
            Console.WriteLine("Design patterns testing application");
            Console.WriteLine("___________________________________");
            Console.WriteLine();

            #region Main testing code section

            #region Creational

            #region Abstract Factory
            var abstractFactoryClient = new Creational.AbstractFactory.Client();
            abstractFactoryClient.TestPattern(new Creational.AbstractFactory.ConcreteFactory1());
            abstractFactoryClient.TestPattern(new Creational.AbstractFactory.ConcreteFactory2());
            #endregion

            #endregion

            #endregion

            Console.WriteLine();
            Console.WriteLine("___________________________________");
            Console.ReadKey();
        }
    }
}
